package com.study.book.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 *
 * @TableName Collect
 */
@TableName(value ="Collect")
@Data
@Accessors(chain = true)
public class Collect implements Serializable {
    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    @TableField(value = "adminId")
    private Integer adminid;

    /**
     * 图书馆ID
     */
    @TableField(value = "libraryId")
    private Integer libraryid;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
